package com.amado.easyui2.service;

import java.util.List;

import com.amado.easyui2.domain.DrivingSchoolEntity;
import com.amado.easyui2.vo.Page;

public interface DrivingSchoolService {
	void add(DrivingSchoolEntity cn);

	List<DrivingSchoolEntity> list();
	//删除
	void delete(List<Long> id);
	//修改
	void update(DrivingSchoolEntity cn);
	//模糊查询用户信息，查询用户时根据部门
	List<DrivingSchoolEntity> list(String cn, String bln);

	List<DrivingSchoolEntity> getCoach(DrivingSchoolEntity bln);

	//模糊查询用户信息，查询用户时根据部门 加oracle分页
	Page<DrivingSchoolEntity> listAll(String cn, String bln,Page page);
}
